<template>
  <div>

  </div>  
</template>

<script>
import { defineComponent, onMounted, onUnmounted, watch, reactive, computed, ref } from 'vue';
import { EnumWebsocketState, socket } from 'src/socket/websocket';

export default defineComponent({
  name: 'DeviceDataAccept',   
  setup (props, context) {
    //socket通信函数
    const {
      WS_FRAME_HEADER,
      wsCertifyUser,
      wsRegisterVariable,
      wsReadVariable
    } = useScadaPacket();
    
    const init = () => {
      debugger
      console.log(dataSocket)
      
    }

    onMounted(() => {
      init();
    });
    
    return { 
      dataSocket  
    }
  },
})
</script>
